package com.itfreer.bpm.demo.service;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.bpm.api.BpmBaseRestService;
import com.itfreer.bpm.demo.entity.BpmDemoEntity;
import com.itfreer.bpm.flow.api.IBaseWorkFlowService;

/**
 * 流程跳转测试用例
 * 
 * @author gj
 *
 */
@Component(value = "RestDemoService")
@Path("/demo")
public class RestBpmDemoService extends BpmBaseRestService<BpmDemoEntity> {

	@Autowired
	private IBpmDemoService service;

	@Override
	public IBaseWorkFlowService<?> getWorkFlowService() {
		return this.service;
	}

	@Override
	protected String getServiceName() {
		return "demo";
	}
}
